package com.vhall.component.entity.account.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author rui.zhou
 * @date 2021/4/26 16:21
 */
@Data
public class AccountInfo implements Serializable {

    @JsonProperty("accountId")
    private Integer accountId;

    @JsonProperty("accountType")
    private Integer accountType;

    @JsonProperty("appId")
    private String appId;

    @JsonProperty("modules")
    private List<String> modules;

    @JsonProperty("nickname")
    private String nickname;

    @JsonProperty("phone")
    private String phone;

    @JsonProperty("status")
    private Integer status;

    @JsonProperty("third_party_user_id")
    private Integer thirdPartyUserId;

    @JsonProperty("token")
    private String token;

    @JsonProperty("username")
    private String username;

    /**
     * 三方登录时候会有 值
     */
    @JsonProperty("profile_photo")
    private String profilePhoto;

}
